import assessCheckApi from './api'
import { axios } from '@/utils/request'

// 查询当前流程任务详情
export function queryJobByJobId(params){
    return axios({
        url: assessCheckApi.queryJobByJobId,
        method:'get' ,
        params:params,
        url_2:'outside',
    })
}

export function tssqsqsaveFlow(params){
    return axios({
        url: assessCheckApi.tssqsqsaveFlow,
        method:'post' ,
        data:params,
        url_2:'outside',
    })
}

export function tssqsqsubmitFlow(params){
    return axios({
        url: assessCheckApi.tssqsqsubmitFlow,
        method:'post' ,
        data:params,
        url_2:'outside',
    })
}

// 下载个人签名
export function downMyQm(params){
    return axios({
        url: assessCheckApi.downMyQm,
        method:'get' ,
        params:{...params},
        url_1:'outside',
        responseType: 'arraybuffer'
    })
}

